﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ManageForm
{
    public partial class SetBillTemplateForm : Form
    {
        public SetBillTemplateForm()
        {
            InitializeComponent();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void SetBillTemplateForm_Load(object sender, EventArgs e)
        {
            this.listView1.LargeImageList = imageList1;
            this.listView1.CheckBoxes = true;
            for (var i = 0; i < 10; i++) {
                imageList1.Images.Add(Image.FromFile(String.Format(@"{0}\sheying1014.jpg", AppDomain.CurrentDomain.BaseDirectory)));
                ListViewItem item = new ListViewItem("测试模板");
                item.ImageIndex = i;
                this.listView1.Items.Add(item);
            }           
        }
    }
}
